<%-- 
    Document   : search/book
    Created on : 11-ago-2012, 22:10:14
    Author     : xico
    Licence    : Apache Licence 2.0
--%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<html>
    <body>
<h3>Books</h3>
<c:if  test="${!empty booktList}">
<table class="data">
<tr>
    <th>Title</th>
    <th>Autor</th>
    <th>Editorial</th>
    <th>ISBN</th>
    <th>&nbsp;</th>
</tr>
<c:forEach items="${bookList}" var="book">
    <tr>
        <td>${book.book} </td>
        <td>${book.autor}</td>
        <td>${book.editorial}</td>
        <td>${book.isbn}</d>
        <td><a href="delete/${book.id}">delete</a></td>
    </tr>
</c:forEach>
</table>
</c:if>
 
</body>
</html>